package com.aorise.model.migration;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @Author:cat
 * @Desicription: 迁建设备新增入参实体类
 * @Date:Created in 2019-06-01
 * @Modified By:
 */
@Data
@ApiModel
public class MigrationCameraAddVO {

    @ApiModelProperty (value = "主键")
    private Integer id;

    @ApiModelProperty (value = "迁建记录ID")
    @NotNull(message = "迁建记录ID不能为空")
    private Integer migrationId;

    @ApiModelProperty (value = "设备ID")
    @NotNull(message = "设备ID不能为空")
    private Integer cameraId;

    @Override
    public String toString() {
        return "MigrationCameraAddVO{" +
                ", id='" + id + '\'' +
                ", migrationId='" + migrationId + '\'' +
                ", cameraId='" + cameraId + '\'' +
                '}';
    }
}
